package com.alibaba.user.mapper;

import com.alibaba.basic.mapper.BaseMapper;
import com.alibaba.user.domain.User;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-06-05
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 手机号码注册 - 发送手机验证码  - 判断是否注册过
     * @param phone
     * @return
     */
    User loadByPhone(String phone);
}
